<template>
	<view class="container">
		<view class="coin-list" v-for="(item,index) in pointInfoList" :key="index" >
				<view>
						<view class="list-item-title">积分充值</view>
						<view class="list-item-time">2025-01-01 00:00:00</view>
				</view>
				<view class="list-item-num">+180</view>
		</view>
		
		<view class="normaltxt" v-if="pointInfoList.length==0"> 没有更多了~ </view>
	
	</view>
	
</template>

<script>
	export default {

		data() {
			return {
				 pointInfoList:[],

			}
		},
	onLoad() {
		this.getPoint()
	},
	methods: {
		//获取积分
		getPoint(){
			this.$http.getPointDetail({}).then(res => {
				if (res.code == '1') {
					this.pointInfoList= res.data.data
					
				}		
			})
		},
	
	
		}
	}
</script>

<style lang="scss" scoped>
	page{
			background: #fff;
	}
.container{
		width:100%;
		background: #fff;
	}
.coin-list{
	display: flex;
	align-items: center;
	justify-content: space-between;
	height:133rpx;
	margin:0 30rpx;
	border-bottom: 1px solid #efefef;
}
.list-item-title{
	font-size: 30rpx;
	color:#000;
}
.list-item-time{
	font-size: 24rpx;
	color:#999;
	margin-top:8rpx;
}
.list-item-num{
	font-size: 36rpx;
	color:#000;
}
	.normaltxt {
		text-align: center;
		font-size: 28rpx;
		color: rgba(153, 153, 153, 1);
		margin: 86rpx 0
	}

</style>